FROM openjdk:8
###复制文件到容器app-springboot
ADD target/goods-0.0.1-SNAPSHOT.jar /goods.jar
###声明启动端口号
EXPOSE 8082
###配置容器启动后执行的命令
ENTRYPOINT ["java","-jar","/goods.jar"]